package com.budwk.app.sqfw.controllers.admin;

import cn.dev33.satoken.annotation.SaCheckLogin;
import com.alibaba.fastjson.JSONObject;
import com.budwk.app.sqfw.dto.SqfwFormSummaryWithFlowDTO;
import com.budwk.app.sqfw.models.SqfwDownFileRecordLog;
import com.budwk.app.sqfw.models.Sqfw_formSummary;
import com.budwk.app.sqfw.services.MeetingMinutesService;
import com.budwk.app.sqfw.services.SqfwDownRecordlogService;
import com.budwk.app.sqfw.services.impl.SqfwDownFileRecordLogServiceImpl;
import com.budwk.app.sqfw.vo.SqfwDownFileRecordLogReqVo;
import com.budwk.app.sqfw.vo.Sqfw_formSummaryForAdminVO;
import com.budwk.starter.common.openapi.annotation.*;
import com.budwk.starter.common.result.Result;
import lombok.extern.slf4j.Slf4j;
import org.nutz.ioc.loader.annotation.Inject;
import org.nutz.ioc.loader.annotation.IocBean;
import org.nutz.mvc.annotation.*;

@IocBean
@At("/platform/sqfw/downFileRecordLog")
@ApiDefinition(tag = "会议记录接口")
@Slf4j
public class SqfwDownFileRecordLogController {

    @Inject
    private SqfwDownRecordlogService sqfwDownRecordlogService;

    @At()
    @Ok("json")
    @POST
    @ApiOperation(name = "任务列表查询")
    @ApiFormParams(implementation = SqfwDownFileRecordLogReqVo.class)
    @ApiResponses(implementation = SqfwDownFileRecordLog.class)
    @SaCheckLogin
    public Result<?> listByPage(@Param("..") SqfwDownFileRecordLogReqVo param) {
        log.info("MeetingMinutesController listSummaryByPage param: {}", JSONObject.toJSONString(param));
        return sqfwDownRecordlogService.listByPage(param);
    }
}










